import {QuestionTextareaDefaultProps, QuestionTextareaPropsType} from "./interface";
import {Input, Typography} from "antd";

const {Paragraph} = Typography;
const {TextArea} = Input
export const QuestionTextarea = (props: QuestionTextareaPropsType) => {
    const {title, placeholder} = {...QuestionTextareaDefaultProps, ...props}
    return (
        <>
            <Paragraph strong>{title}</Paragraph>
            <div>
                <TextArea placeholder={placeholder}></TextArea>
            </div>
        </>
    );
};